<?PHP

$ads=new ads;
$ads->get_campaign();
$campaigns=$ads->data;
$ads->get_zone();
$zones=$ads->data;
$content_category=new content_category;
$content_category->where['type']='video';
$content_category->get_category();
$video_category=$content_category->data;

$e['server']='rtmp://';
$e['artwork']='http://';
$e['duration']='00:00';
$e['cpm']='1.0';
$e['start']=date("Y-m-d h:i:s");
$e['end'] = mktime(0, 0, 0, date("m")+12,   date("d"),   date("Y"));
$e['end']=date("Y-m-d h:i:s",$e['end']);
$table='ad_media';
$id='id';
$catch='zone';

include 'm/ads/p_ad_media.php';
?>